* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #fff;
}
li {
  list-style: none;
}
input,textarea {
  outline: none;
}
body {
  font-size: 14px;
  color: #003b53;
  font-family: '微软雅黑';
}


/* 导航 */
nav {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 60px;
  background: #003b53b4;
  margin: 0 auto;
  color: #f2dca0;
}
/* logo */
nav .left {
  float: left;
  width: 150px;
  height: 60px;
  line-height: 60px;
  font-size: 24px;
  font-weight: 500;
  padding-right: 30px;
}
nav .left p{
  width: 100px;
  height: 95px;
  margin-left: 100px;
  margin-top: -80px;
  color: #f2dca0;
}
nav .left:hover img {
  transform: rotateY(360deg);
  transition: all 1s;
}
nav .left img {
  width: 75%;
  height: 100%;
  margin-left: 15px;
}

/* 导航内容 */
nav .center {
  display: flex;
  /* float: left; */
  margin-left: 250px;
  width: 1000px;
  height: 100%;
}
nav .center li {
  /* border: 1px solid black ; */
  position: relative;
  float: left;
  width: 160px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 18px;
  color: #f2dca0;
}
nav .center li:nth-child(6){
  width: 200px;
}
.n3{
  /* border: 1px solid rgb(76, 0, 252) ; */
  height: 60px;
  width: 400px;
  margin-left: 150px;
}
.n3 .h2{
  /* border: 1px solid rgb(252, 0, 0) ; */
  height: 30px;
  width: 30px;
  margin-top: 16px;
  float: left;
}
#search{
  height: 30px;
  width: 200px;
  border-radius: 16px;
  float: left;
  background: transparent;
  border: 1px solid #f2dca0 ;
  margin-top: 16px;
  margin-left: 6px;
  background-image: url(../images/search.png);
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position:3% 50%;
}
nav .center li:hover span {
  width: 100px;
  transition: all 1s;
}
nav .center li span {
  width: 0;
  height: 2px;
  position: absolute;
  bottom: 7px;
  left: 20%;
  background-color: #f2dca0;
}
/* 轮播 */
.rotation {
  width: 1000px;
  height: 500px;
  margin: 0 auto;
}
.rotation img {
  width: 100%;
  height: 100%;
}

/* 内容 */
.content3 {
  width: 1075px;
  height: 2220px;
  margin: 0 auto;
  margin-top: 30px;
  background-color: #fff;

  /* background-color: aqua; */
}
.content3 ul li {
  float: left;
  margin-right: 40px;
  width: 330px;
  height: 420px;
  margin-bottom: 70px;
  background-color: #fff;
  border: 1px solid #ccc;
  transition: box-shadow 0.3s;

  box-shadow: 5px 5px 5px 5px #dcc5c5;
}
.content3 ul li:nth-child(3n) {
  margin-right: 0;
}
.content3 ul li .top {
  padding: 10px;
  width: 100%;
  height: 200px;
}
.content3 ul li .top img {
  width: 100%;
  height: 100%;
  transition: box-shadow 0.3s;
   
}
/*图片渐变效果*/
.content3 ul li .top:hover{
box-shadow: 5px 5px 5px 5px #ef7878;
}
.content3 ul li .bottom {
  /* border: 1px solid rgb(167, 42, 42); */
  text-align: center;
  padding: 10px;
  width: 100%;
  height: 200px;
  font-size: 14px;
  color: #000;
  line-height: 30px;
}
.content3 ul li .bottom h4 {
  font-size: 16px;
}
.content3 ul li .bottom p {
  text-align: justify;
  color: #000;
}



footer {
  width: 100%;
  margin: 0 auto;
  margin-top: 20px;
  height: 80px;
  background-color: #003b53;
}
footer .mains {
  margin: 0 auto;
  padding-top: 20px;
  width: 800px;
  /* border: 1px solid rgb(167, 42, 42); */
}
#marquee {
  color: #f2dca0;
  display: block;
  width: 96%;
  height: 20px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
#marquee_text {
  position: absolute;
  top: 0;
  left: 100%;
  line-height: 20px;
  display: block;
  word-break: keep-all;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}
.mains p {
  color: #fff;
  margin-top: 5px;
  text-align: center;
  font-size: 14px;
}
footer .mains p:hover {
  color: #f2dca0;
} 

